Optimal. Leaf size=197 \[ \frac {b e^{\frac {2 A}{B n}} \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{2/n} (c+d x)^2 \text {Ei}\left (-\frac {2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{B n}\right )}{B (b c-a d)^2 g^3 n (a+b x)^2}-\frac {d e^{\frac {A}{B n}} \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{\frac {1}{n}} (c+d x) \text {Ei}\left (-\frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{B n}\right )}{B (b c-a d)^2 g^3 n (a+b x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.19, antiderivative size = 197, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 4, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.114, Rules used = {2549, 2395,
2347, 2209} \begin {gather*} \frac {b e^{\frac {2 A}{B n}} (c+d x)^2 \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{2/n} \text {Ei}\left (-\frac {2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{B n}\right )}{B g^3 n (a+b x)^2 (b c-a d)^2}-\frac {d e^{\frac {A}{B n}} (c+d x) \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{\frac {1}{n}} \text {Ei}\left (-\frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{B n}\right )}{B g^3 n (a+b x) (b c-a d)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2209
Rule 2347
Rule 2395
Rule 2549
Rubi steps
\begin {align*} \int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )} \, dx &=\int \frac {1}{(a g+b g x)^3 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.18, size = 172, normalized size = 0.87 \begin {gather*} \frac {e^{\frac {A}{B n}} \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{\frac {1}{n}} (c+d x) \left (b e^{\frac {A}{B n}} \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{\frac {1}{n}} (c+d x) \text {Ei}\left (-\frac {2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{B n}\right )-d (a+b x) \text {Ei}\left (-\frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{B n}\right )\right )}{B (b c-a d)^2 g^3 n (a+b x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.05, size = 0, normalized size = 0.00 \[\int \frac {1}{\left (b g x +a g \right )^{3} \left (A +B \ln \left (e \left (\frac {b x +a}{d x +c}\right )^{n}\right )\right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 137, normalized size = 0.70 \begin {gather*} -\frac {d e^{\left (\frac {A + B}{B n}\right )} \operatorname {log\_integral}\left (\frac {{\left (d x + c\right )} e^{\left (-\frac {A + B}{B n}\right )}}{b x + a}\right ) - b e^{\left (\frac {2 \, {\left (A + B\right )}}{B n}\right )} \operatorname {log\_integral}\left (\frac {{\left (d^{2} x^{2} + 2 \, c d x + c^{2}\right )} e^{\left (-\frac {2 \, {\left (A + B\right )}}{B n}\right )}}{b^{2} x^{2} + 2 \, a b x + a^{2}}\right )}{{\left (B b^{2} c^{2} - 2 \, B a b c d + B a^{2} d^{2}\right )} g^{3} n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{{\left (a\,g+b\,g\,x\right )}^3\,\left (A+B\,\ln \left (e\,{\left (\frac {a+b\,x}{c+d\,x}\right )}^n\right )\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________